package sk.marek.barak.server;

import java.util.ArrayList;
import java.util.List;

import sk.marek.barak.client.Coment;
import sk.marek.barak.client.ComentService;
import sk.marek.barak.shared.Util;
import com.google.appengine.api.datastore.Entity;
import com.google.appengine.api.datastore.Key;
import com.google.appengine.api.datastore.KeyFactory;
import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserServiceFactory;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;


public class ComentServiceImpl extends RemoteServiceServlet implements
		ComentService {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3001588560578230149L;

	/**
	 * 
	 */


	@Override
	public Coment addComent(String text, String thoughtId) {
		return Facade.addComent(text, thoughtId);
	}

	@Override
	public void removeComent(String key) {
		Facade.removeComent(key);
		
	}

	@Override
	public List<Coment> getThoughtComents(String thoughtId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void removeThoughtComents(String thoughtId) {
		// TODO Auto-generated method stub
		
	}


	
}
